Using Angular2, Webpack and Visual Studio 2015

Most articles out there about Angular2 with .Net use .NET Core and Visual Studio Code as the IDE (with node serving behind it). For the few of us procrastinators who haven’t moved on to the latest, its difficult to find examples and documentation on using Angular2+ with old .Net 4.5+.

Full blog post about this project setup is here:
http://solidfish.com/using-visual-studio-2015-with-webpack-for-angular-2-development/

 

This is a sample project I’ve created that uses .Net 4.5 Web API as a backend and NG2+ as front end. The back-end can be found here:

https://solidfishapi.azurewebsites.net/

The front-end is a static html/js files only. It is also hosted on Azure as an app service and can be found here:

https://ng2demo.azurewebsites.net/

The back-end API site has CORS enabled to allow the cross origin requests. The whole project can be found here:

https://github.com/johnlee/Widgets.NG2